<?php 
$mobile = $_POST["mobile"];
$message = $_POST["message"];
if (!isset($_POST['submit'])) { // if page is not submitted to itself echo the form}
?>

<html> 
<head> 

<style type="text/css">
body
{
background-color:white;
}
h1
{
color:Black;
text-align:center;
}


.mini
{
text-align:center;
font-family:"Times New Roman";
font-size:10px;
}

.quadrado
{
border: solid 2px;
background-color:#FF6600;
text-align:center;
margin: 20px 180px 20px 180px;
}

.quadrado2
{
border: solid 2px;
background-color:#CCCCCC;
text-align:center;
margin: 0 200px 0 200px;
}


.header
{
text-align:center;
}

p
{
font-family:"Times New Roman";
font-size:20px;
}
</style>





<title>Personal INFO</title> 
</head> 
<body> 

<?php
// prints e.g. 'Current PHP version: 4.1.1'
echo 'Current PHP version: ' . phpversion();
// prints e.g. '2.0' or nothing if the extension isn't enabled
echo phpversion('tidy');
?><br />
<div class="header">
<img border="0" src="topo_pt.gif" /></div>

<h1>Bem vindo ao Mensageiro Electronico da Artecomum</h1>

<div class="quadrado2">
<div class="quadrado">
<br />
<form method="post" action="sendsms.php">
Numero:<input type="text" size="12" maxlength="12" name="mobile">:<br />
<textarea rows="6" cols="20" name="message" wrap="physical">Enter your message!</textarea>:<br />

<input type="submit" value="submit" name="submit"><br />
</form><br />
</div>
</div>

<?php echo '<h1>Welcome to the message sender</h1>';?> 
<br />
<br />



<div class="quadrado2"><div class="mini">Powered by MGO consulting</div></div>
 </body>
</html>
<?php }?>